package cn.chencq.moudle.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import cn.chencq.moudle.sys.entity.SysUserRole;

/**
 * 用户与角色对应关系
 * 
 * @author chenchaoqun
 * @email ccq@chencq.cn
 * @date 2018-10-22 15:41:40
 */
@Mapper
public interface SysUserRoleDao extends BaseDao<SysUserRole>{

   
	List<Long> queryRoleIdList(Long userId);
	
	int deleteByUserId(Long userId);
}
